<?php
/* @var $this OrderController */
/* @var $model Order */
?>
<h3>订单管理</h3>
<?php $this->widget('zii.widgets.grid.CGridView', array(
	'id'=>'order-grid',
	'cssFile'=>false,
	'emptyText'=>'未找到符合条件数据',
	'itemsCssClass'=>'table table-bordered table-hover',
	'dataProvider'=>$model->search(),
// 	'filter'=>$model,
	'columns'=>array(
		'id',
		'createtime',
		'finishtime',
		'orderStatus',
		'customer.username',
		array(
			'class'=>'application.views.widgets.zii-grid.BButtonColumn',
			'template'=>'{view}',
	
		)
	),
)); ?>
